const Layout = () => import('@/Layout/index.vue')
export default [
  {
    path: '/Sendmed',
    name: 'Sendmed',
    meta: {
      title: "药房工作站",
    },
    redirect: "/Inpatient",
    component: Layout,
    // component: () => import('../view/welcome/index.vue'),
    children: [
      {
        path: '/Inpatient',
        name: 'Inpatient',
        meta: {
          title: "住院发药",
        },
        component: () => import('../../view/Sendmed/Inpatient/index.vue'),
      },
      {
        path: '/Outpatient',
        name: 'Outpatient',
        meta: {
          title: "门诊发药",
        },
        component: () => import('../../view/Sendmed/Outpatient/index.vue'),
      },
      {
        path: '/PbackOff',
        name: 'PbackOff',
        meta: {
          title: "病区退药",
        },
        component: () => import('../../view/Sendmed/PbackOff/index.vue'),
      },
    ],
  },
] satisfies Array<RouteConfigsTable>;
